import 'package:fish_redux/fish_redux.dart';
import 'package:zenge_web_flutter/page/page_myhome/bottom_info/component.dart';

import 'effect.dart';
import 'reducer.dart';
import 'state.dart';
import 'view.dart';

class EcologyPage extends Page<EcologyState, Map<String, dynamic>> {
  EcologyPage()
      : super(
          initState: initState,
          effect: buildEffect(),
          reducer: buildReducer(),
          view: buildView,
          dependencies: Dependencies<EcologyState>(
              adapter: null,
              slots: <String, Dependent<EcologyState>>{
                'bottom_info':
                    BottomInfoConnector() + BottomInfoComponentComponent(),
              }),
          middleware: <Middleware<EcologyState>>[],
        );
}
